﻿namespace JsViewEngine.Demo.Models
{
    using System.Collections.Generic;

    public class MoviesViewModel
    {
        public class Movie
        {
            public string name { get; set; }
            public string releaseYear { get; set; }
            public string director { get; set; }
            public string synopsis { get; set; }
        }

        private readonly IList<Movie> movies = new List<Movie>();

        public IList<Movie> Movies
        {
            get { return this.movies; }
        }

        public bool? ShowDetails { get; set; }
    }
}